package com.whale.kernel.model.tree;

import java.util.List;

public class TreeNode<E extends Leaf> {
	
	private String name;
	private String path;
	private String nodeId;
	private List<TreeNode<E>> subnodes;
	private List<E> leafs;
	
	public TreeNode() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public List<TreeNode<E>> getSubnodes() {
		return subnodes;
	}

	public void setSubnodes(List<TreeNode<E>> subnodes) {
		this.subnodes = subnodes;
	}

	public List<E> getLeafs() {
		return leafs;
	}

	public void setLeafs(List<E> leafs) {
		this.leafs = leafs;
	}

}
